package primary.code06_graph;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Yudi Wang
 * @date 2021/7/16 11:03
 */
public class Node {
    public int val;
    public int in;
    public int out;
    public List<Node> next;
    public List<Edge> edges;

    public Node() {
    }

    public Node(int val) {
        this.val = val;
        this.next = new ArrayList<>();
        this.edges =new ArrayList<>();
    }

    public Node(int val, int in, int out, List<Node> next, List<Edge> edges) {
        this.val = val;
        this.in = in;
        this.out = out;
        this.next = next;
        this.edges = edges;
    }
}
